package com.example.chang.law_doc.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

import com.example.chang.law_doc.R;

/**
 * Created by chang on 2018/4/16.
 * 项目描述：
 */

public class TextShowActivity extends AppCompatActivity implements View.OnClickListener {
    private ImageView iv_back_long;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_text_show);
        ActionBar actionBar=getSupportActionBar();
        if (actionBar!=null){
            actionBar.hide();
        }
        initView();
    }

    private void initView() {
        iv_back_long= (ImageView) findViewById(R.id.iv_back_long);
        iv_back_long.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.iv_back_long:
                finish();
                break;

        }
    }
}
